<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      >

        <ui:composition template="./WEB-INF/includes-templates/template.xhtml">
            <ui:param name="pageTitle" value="#{trans.system_name}" />
            <ui:define name="content" >
                <ui:include src="/WEB-INF/includes/searchBar.xhtml" />
                <h3>#{trans.b_myWork}</h3>
                <br />
                <br />
                <br />
                <p:dataTable var="w" value="#{work.allWorks}">  
                      <p:column headerText="#{trans.work_name}">  
                          #{w.name}
                      </p:column>
                      <p:column headerText="#{trans.work_description}">  
                          #{w.description}
                      </p:column>
                      <p:column headerText="#{trans.work_filename}">  
                          #{w.filename}
                      </p:column>
                      <p:column headerText="#{trans.work_createDat}">  
                          #{w.createDat}
                      </p:column>
                      <p:column headerText="#{trans.work_lastChange}">  
                          #{w.lastChange}
                      </p:column>
                  </p:dataTable>  
            </ui:define>
        </ui:composition>

</html>
